<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      color: #c7bcba;
    }
    body {
      background: #201f1b;
      overflow: hidden;
    }
    .container {
      width: 100%;
      height: 100vh;
      display: flex;
      align-items: center;
    }
    .nav {
      width: 80%;
      height: 50px;
      position: absolute;
      top: -50px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      justify-content: space-between;
      animation: anim4 2s forwards 3s;
      z-index: 10;
    }
    @keyframes anim4 {
      from {
        top: -50px;
      }
      to {
        top: 40px;
      }
    }
    .logo img {
      height: 50px;
    }
    .menu ul li {
      list-style: none;
      display: inline-block;
      padding: 0 20px;
      margin: 0 10px;
      line-height: 50px;
      cursor: pointer;
      transition: .3s;
    }
    .menu ul li:hover {
      background: #d67208;
      color: #fff;
      border-radius: 4px;
    }
    .con {
      width: 80%;
      margin: auto;
      padding-top: 120px;
      position: absolute;
      left: -100%;
      animation: anim3 2s forwards 3s;
    }
    @keyframes anim3 {
      from {
        left: -100%;
      }
      to {
        left: 10%;
      }
    }
    .con h1 {
      width: 60%;
      font-size: 90px;
      color: #d67208;
    }
    .line {
      width: 720px;
      height: 2px;
      background: #c7bcba;
      margin: 20px 0;
    }
    .con p {
      width: 48%;
      line-height: 1.5;
      font-weight: 200;
    }
    .con a {
      width: 270px;
      height: 60px;
      display: block;
      margin-top: 40px;
      text-decoration: none;
      text-align: center;
      line-height: 60px;
      background: #d67208;
      border-radius: 5px;
      transition: .3s;
    }
    .con a:hover {
      color: #fff;
      background:  #f58c1c;
    }
    .robot {
      width: 440px;
      height: 620px;
      /* background: url(./robot.png) center no-repeat; */
      background: url(./robot.png);
      background-size: cover;
      position: absolute;
      bottom: -100%;
      left: 30%;
      animation: anim 2s forwards,anim2 2s forwards 3s;
    }
    .robot::after {
      content: '';
      position: absolute;
      left:0;
      width: 440px;
      height: 620px;
      background: url(./robot.png);
      background-size: cover;
      z-index: -1;
    }
    @keyframes anim {
      form {
        bottom: -100%;
      }
      to {
        bottom: 0%;
      }
    }
    @keyframes anim2 {
      form {
        left: 30%;
        width: 330px;
      }
      to {
        width: 0;
        left: 50%;
      }
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="nav">
      <div class="logo">
        <img src="./logo.jpg" alt="logo图标">
      </div>
      <div class="menu">
        <ul>
          <li>HOME</li>
          <li>STORY</li>
          <li>ROLE</li>
          <li>LEVEL</li>
          <li>CONTACT</li>
        </ul>
      </div>
    </div>
    <div class="con">
      <h1>ROBOT TIME</h1>
      <div class="line"></div>
      <p>Through our work, a stort is told. This centralized storytelling element is the key to enriching our work.</p>
      <a href="#">LEARN MORE</a>
    </div>
    <div class="robot"></div>
  </div>
</body>
</html>